package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {
    Integer add(Student student);

    PageResult page(StudentQueryParam studentQueryParam);

    void delete(List<Integer> ids);

    Student getInto(Integer id);

    void update(Student stu);

    void updateViolation(Integer id, Short score);
}